﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <SnippetTypes>
        <SnippetType>Expansion</SnippetType>
      </SnippetTypes>
      <Title>Contract.Assert</Title>
      <Shortcut>cca</Shortcut>
      <Description>Emits a 'Contract.Assert' clause</Description>
      <Author>MaF</Author>
    </Header>
    <Snippet>
      <Imports>
        <Import>
          <Namespace>System.Diagnostics.Contracts</Namespace>
        </Import>
      </Imports>
      <Declarations>
        <Object Editable="true">
          <ID>condition</ID>
          <ToolTip>expression representing the condition that must be true</ToolTip>
          <Default>False</Default>
          <Function>
          </Function>
        </Object>
      </Declarations>
      <Code Language="VB" Kind="method body"><![CDATA[Contract.Assert($condition$)]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>
